package com.changyinBus.common.core.domain.entity;

import com.alibaba.fastjson2.JSONObject;
import com.changyinBus.common.core.domain.BaseEntity;
import com.changyinBus.common.utils.IDGenerator;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.util.Date;

@Data
public class SysLotteryRecords extends BaseEntity {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    private String openid;
    //微信名称
    private String nickname;
    //性别 0 男
    private int sex;
    //微信头像
    private String headImgUrl;
    private String status;
    private Integer delFlag;
    private double money;
    //抽奖时间
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;


    public SysLotteryRecords(){}


    public void setParam(SysLotteryRecords article){

    }

}
